package org.languageguide.readings.junit;

import org.languageguide.readings.SentenceWrapper;
import org.languageguide.readings.StandardSentenceWrapper;

import junit.framework.TestCase;

public class SentenceWrapperTest extends TestCase {

	public SentenceWrapperTest(String name) { 
	      super(name);
	   }

	   public void testSentenceWrapperTest() {
		   String paragraph = "<p>Although the Yapese.</p>";
		   SentenceWrapper wrapper = new StandardSentenceWrapper();
		   
		   String wrappedText = wrapper.wrap(paragraph);
		   assertEquals(wrappedText, "<p><span id=\"s0\">Although the Yapese.</span> </p>"); 
	   }
	
	
}
